namespace CRC_Editor
{
    public class CardFactory
    {
        public CardFactory(CardEnvironment enviroment)
        {
            env = enviroment;
        }

        public Card Create()
        {
            Card card = new Card();
            env.CardRepository.Add(card);

            return card;
        }

        private CardEnvironment env;
    }
}